package com.baitiaojun.video.service;

import com.baitiaojun.api.exception.ConditionException;
import com.baitiaojun.api.vo.LikeCoinOperatedCollectedInfo;

/**
 * @类名 VideoLikeService
 * @描述 TODO
 * @作者 白条君
 * @创建日期 2023/2/23 16:37
 * @版本 1.0
 */
public interface VideoLikeService {

    void addVideoLike(Long videoId, Long userId) throws ConditionException;

    void cancelVideoLike(Long videoId, Long userId) throws ConditionException;

    LikeCoinOperatedCollectedInfo getVideoLike(Long userId, Long videoId);

    Integer getVideoLikeCount(Long videoId);
}
